import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// https://vitejs.dev/config/
export default defineConfig({
  define: {
    'process.env': {
      PRIMARY_COLOR: '#0165FC'
    }
  },
  plugins: [
    uni(),
  ],
  css: {
    preprocessorOptions: {
      scss: {
        additionalData: '@import "@/static/variable.scss";',
        javascriptEnabled: true
      }
    }
  }
})
